package com.pgyl.contract.service;

import com.pgyl.contract.exceptions.ValidationException;
import com.pgyl.contract.model.Contract;

// Service通用接口
public interface ContractService<T extends Contract> {

    /**
     * 新建合同
     *
     * @param contract 合同对象
     */
    void addContract(T contract);
}
